package cn.tedu.spring.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration  //标识此类为配置类,工程会优先加载
@ComponentScan("cn.tedu.spring")  //自动扫描注解,
public class SpringConfig {
}
